/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package it.polimi.leo.utils;

/**
 *
 * @author Lev
 */
public class TeaminatableThread extends Thread {

    private volatile boolean running = true;

    public void terminate() {
        running = false;
    }

    public boolean isNotTerminate(){
        return running;
    }
}
